﻿ALTER TABLE [dbo].[Photos]
    ADD CONSTRAINT [FK_GenericSearchResultPhoto] FOREIGN KEY ([GenericSearchResultPhoto_Photo_Id]) REFERENCES [dbo].[GenericSearchResults] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

